.content {
  padding: 20px;

  :global(.ember-power-select-trigger) {
    min-height: 31px;
    margin-bottom: 10px;
    background: var(--content-background);
    border: 1px solid var(--background-light-highlight);
  }
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

button.button {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: var(--border-radius);

  &:focus,
  &:hover {
    transform: translate3d(0, 0, 0);
  }
}

.current-text {
  white-space: pre-line;
  font-size: 13px;
  opacity: 0.5;
  padding: 5px 0;
  margin-bottom: 6px;
}

.result-error {
  white-space: pre-line;
  font-size: 11px;
  color: var(--color-error);
  padding: 7px 0;
  margin-top: 5px;
}

.result-text {
  white-space: pre-line;
  font-size: 13px;
  margin-top: 10px;
}

.result-text--unchanged {
  font-style: italic;
  font-size: 11px;
  opacity: 0.5;
}

.prompt-button {
  position: relative;
  display: flex;
  align-items: center;

  > .button {
    transition: opacity 0.2s ease-in-out;
    box-shadow: none;
    opacity: 0.7;
  }

  &:focus,
  &:hover {
    outline: none;

    > .button {
      opacity: 1;
    }
    .prompt-button-quick-access[data-rtl] {
      transform: translateX(36px);
      right: auto;
    }

    .prompt-button-quick-access {
      opacity: 1;
      transform: translateX(-20px);
      padding: 0 7px;
      top: -1px;
      pointer-events: all;
    }
  }
}

.prompt-button-quick-access[data-rtl] {
  left: 0;
  right: auto;
}

.prompt-button-quick-access-icon {
  box-shadow: none;
}

.prompt-button-quick-access-icon :global(.label) {
  padding: 3px !important;
}

.prompt-button-quick-access {
  background: var(--input-background);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  right: 0;
  display: flex;
  gap: 4px;
  align-items: center;
  position: absolute;
  top: 0;
  transition: all 0.2s ease-in-out;

  > button:focus,
  > button:hover {
    transform: translate3d(0, 0, 0);
  }

  > button :global(.label) {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  text-align: center;
  font-size: 17px;
  color: var(--color-primary);
}

.title-icon {
  width: 15px;
  opacity: 0.8;
}
